package com.smartwasser.yunhtgl.apphtgl.activity;

import android.view.View;
import android.widget.TextView;

import com.smartwasser.yunhtgl.apphtgl.R;
import com.smartwasser.yunhtgl.apphtgl.asp.SP01Activity;
import com.smartwasser.yunhtgl.apphtgl.asp.SP02Activity;
import com.smartwasser.yunhtgl.apphtgl.asp.SP03Activity;
import com.smartwasser.yunhtgl.apphtgl.asp.SP04Activity;
import com.smartwasser.yunhtgl.apphtgl.asp.SP05Activity;
import com.smartwasser.yunhtgl.apphtgl.base.BaseActivity;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * 合同审批
 */
public class SP2Activity extends BaseActivity {
    @BindView(R.id.tv_toolbar)
    TextView tv_toolbar;

    @Override
    public void setContentLayout() {
        setContentView(R.layout.activity_sp2);
        ButterKnife.bind(this);
    }

    @Override
    public void initView() {
        tv_toolbar.setText("合同审批");
    }

    @Override
    public void initData() {

    }

    @OnClick({R.id.back, R.id.sp2_wcl, R.id.sp2_ycl, R.id.sp2_dwc, R.id.sp2_ygd, R.id.sp2_yzz})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.back:
                finish();
                break;
            case R.id.sp2_wcl:
                startActivity(SP01Activity.class);
                break;
            case R.id.sp2_ycl:
                startActivity(SP02Activity.class);
                break;
            case R.id.sp2_dwc:
                startActivity(SP05Activity.class);
                break;
            case R.id.sp2_ygd:
                startActivity(SP03Activity.class);
                break;
            case R.id.sp2_yzz:
                startActivity(SP04Activity.class);
                break;
        }
    }
}
